﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Model_Layer;

namespace Data_Access_Layer
{
    public interface IDBAirport
    {
        Airport getSelectedAirport(int idairport);

        List<Airport> GetAllAirports();
        List<Airport> searchAllAirports(string search);

        List<int> GetIdAdjacentcyList(int idairport);
        //delegate List<Airport> GetAdjacentcyList(List<int> method);
        List<Airport> GetAdjacentcyList(List<int> GetIdAdjacentcyList);

    }
}